package com.zhuiYun.project.api.order.mapper;

import com.zhuiYun.project.api.order.entity.OrdersRetreat;
import com.zhuiYun.project.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * @Description: 售后中间表
 * @ClassName: OrdersRetreatMapper
 * @Author: YB
 * @Date: 2023/4/14 11:15
 * @Version: 1.0
 */
public interface OrdersRetreatMapper extends BaseMapper<OrdersRetreat> {
    @Update("update orders_retreat set del_flag = 1,orders_retreat_take_notes = 0 where id=#{id}")
    int updateOrder(Integer id);
}
